import { makeAutoObservable } from "mobx";
export class CountStore {
  readonly base = 5;
  MCount = 0;
  constructor() {
    makeAutoObservable(this);
  }
  setMCount() {
    this.MCount++;
  }
  get total() {
    return this.MCount * this.base;
  }
}

export default new CountStore();
